package com.demo.api.service.menu;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.demo.api.vo.user.MenuVo;
import com.demo.client.model.user.SysMenu;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Tan-Bowen
 * @description TODO
 * @date 2021/8/28 17:10
 */
public interface IMenuService {

    IPage<MenuVo.PageList> pageList(Page<SysMenu> page, MenuVo.Select select);

    void create(MenuVo.Create create);

    void update(MenuVo.Update update);

    List<MenuVo.PageList> getMenuList();

    void deleteMenu(Long menuId);
}
